<template>
  <div class="signs">
    <el-select v-bind="$attrs"
               class="signs-width"
               clearable
               placeholder="请选择"
               @input="handleInput">
      <el-option v-for="item in options"
                 :key="item.value"
                 :label="item.label"
                 :value="item.value">
      </el-option>
    </el-select>
  </div>
</template>

<script>
export default {
  name: 'Signs',
  data () {
    return {
      options: [
        {
          value: 1,
          label: "签收异常"
        },
        {
          value: 2,
          label: "回单照片"
        },
        {
          value: 5,
          label: "回单丢失"
        }
      ]
    };
  },
  methods: {
    handleInput (value) {
      this.$emit("input", value);
    }
  }
};
</script>

<style scoped>
.signs-width {
  width: 230px;
}
</style>
